package com.cmos.um.service.impl;



import com.alibaba.dubbo.config.annotation.Service;
import com.cmos.um.beans.CtiMessage;
import com.cmos.um.beans.CtiMessageExtends;
import com.cmos.um.dao.CtiMessageMapper;
import com.cmos.um.iservice.ICtiMessageSV;
import org.springframework.beans.factory.annotation.Autowired;


import java.util.List;

@Service
public class CtiMessageSVImpl implements ICtiMessageSV {
    @Autowired
    private CtiMessageMapper ctiMessageMapper;
    @Override
    public CtiMessageExtends queryCtimessageBytaskId(String campaign_id) {
        return ctiMessageMapper.queryCtimessageBytaskId(campaign_id);
    }

    @Override
    public List<CtiMessage> queryAll() {
        return ctiMessageMapper.queryAll();
    }

    @Override
    public int updateByPrimaryKeySelective(CtiMessage ctimessage) {
        return ctiMessageMapper.updateByPrimaryKeySelective(ctimessage);
    }

    @Override
    public CtiMessage selectByPrimaryKey(String ctiId) {
        return ctiMessageMapper.selectByPrimaryKey(ctiId);
    }
}
